package net.zoneland.knowledge.controller.bean;

import java.io.Serializable;
import java.util.Arrays;
import java.util.StringJoiner;

/**
 *  红色教育基地对象.
 */
public class RedRouteInfoWithBlobs extends RedRouteInfo implements Serializable {

    private static final long serialVersionUID = -8017556974880541076L;

    /**
     * 联系人.
     */
    private String contact;

    /**
     * 电话.
     */
    private String contactPhone;

    /**
     * 照片.
     */
    private String pictureName;

    /**
     * 照片文件.
     */
    private byte[] pictureFile;

    /**
     * 说明.
     */
    private String pictureExplain;

    @Override
    public String toString() {
        return new StringJoiner(", ", RedRouteInfoWithBlobs.class.getSimpleName() + "[", "]")
                .add("linkMan='" + contact + "'")
                .add("phone='" + contactPhone + "'")
                .add("picture='" + pictureName + "'")
                .add("pictureFile=" + Arrays.toString(pictureFile))
                .add("pictureExplain='" + pictureExplain + "'")
                .toString();
    }

    /**
     * 获取 联系人.
     *
     * @return linkMan 联系人.
     */
    public String getContact() {
        return this.contact;
    }

    /**
     * 设置 联系人.
     *
     * @param contact 联系人.
     */
    public void setContact(String contact) {
        this.contact = contact;
    }

    /**
     * 获取 电话.
     *
     * @return phone 电话.
     */
    public String getContactPhone() {
        return this.contactPhone;
    }

    /**
     * 设置 电话.
     *
     * @param contactPhone 电话.
     */
    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    /**
     * 获取 照片.
     *
     * @return picture 照片.
     */
    public String getPictureName() {
        return this.pictureName;
    }

    /**
     * 设置 照片.
     *
     * @param pictureName 照片.
     */
    public void setPictureName(String pictureName) {
        this.pictureName = pictureName;
    }

    /**
     * 获取 照片文件.
     *
     * @return pictureFile 照片文件.
     */
    public byte[] getPictureFile() {
        return this.pictureFile;
    }

    /**
     * 设置 照片文件.
     *
     * @param pictureFile 照片文件.
     */
    public void setPictureFile(byte[] pictureFile) {
        this.pictureFile = pictureFile;
    }

    /**
     * 获取 说明.
     *
     * @return pictureExplain 说明.
     */
    public String getPictureExplain() {
        return this.pictureExplain;
    }

    /**
     * 设置 说明.
     *
     * @param pictureExplain 说明.
     */
    public void setPictureExplain(String pictureExplain) {
        this.pictureExplain = pictureExplain;
    }
}
